﻿using HCQ2_Model.APPModel.ParamModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VR.Params
{
    public class IntroduceModel: BaseDDAPI
    {
        /// <summary>
        ///  素材、作品 id
        /// </summary>
        [Required(ErrorMessage = "素材、作品 id必填项")]
        public int file_id { get; set; }
        /// <summary>
        ///  64位图片
        /// </summary>
        [Required(ErrorMessage = "64位图片必填项")]
        public List<Base64Img> picture { get; set; }
        /// <summary>
        ///  展示形式
        /// </summary>
        public int file_type { get; set; }
    }
    public class Base64Img
    {
        /// <summary>
        ///  图片名称
        /// </summary>
        [Required(ErrorMessage = "图片名称必填项")]
        public string picName { get; set; }
        /// <summary>
        ///  64位图片字符串
        /// </summary>
        [Required(ErrorMessage = "64位图片字符串必填项")]
        public string picFile { get; set; }
    }
}